"
A pool for Text constants for space, tab, espace, ...
"
Class {
	#name : 'TextConstants',
	#superclass : 'SharedPool',
	#classVars : [
		'BS',
		'BS2',
		'Basal',
		'Bold',
		'CR',
		'Centered',
		'Clear',
		'CrossedX',
		'CtrlA',
		'CtrlB',
		'CtrlC',
		'CtrlD',
		'CtrlDigits',
		'CtrlE',
		'CtrlF',
		'CtrlG',
		'CtrlH',
		'CtrlI',
		'CtrlJ',
		'CtrlK',
		'CtrlL',
		'CtrlM',
		'CtrlN',
		'CtrlO',
		'CtrlOpenBrackets',
		'CtrlP',
		'CtrlQ',
		'CtrlR',
		'CtrlS',
		'CtrlT',
		'CtrlU',
		'CtrlV',
		'CtrlW',
		'CtrlX',
		'CtrlY',
		'CtrlZ',
		'Ctrla',
		'Ctrlb',
		'Ctrlc',
		'Ctrld',
		'Ctrle',
		'Ctrlf',
		'Ctrlg',
		'Ctrlh',
		'Ctrli',
		'Ctrlj',
		'Ctrlk',
		'Ctrll',
		'Ctrlm',
		'Ctrln',
		'Ctrlo',
		'Ctrlp',
		'Ctrlq',
		'Ctrlr',
		'Ctrls',
		'Ctrlt',
		'Ctrlu',
		'Ctrlv',
		'Ctrlw',
		'Ctrlx',
		'Ctrly',
		'Ctrlz',
		'DefaultBaseline',
		'DefaultFontFamilySize',
		'DefaultLineGrid',
		'DefaultMarginTabsArray',
		'DefaultMask',
		'DefaultRule',
		'DefaultSpace',
		'DefaultTab',
		'DefaultTabsArray',
		'ESC',
		'EndOfRun',
		'Enter',
		'Italic',
		'Justified',
		'LeftFlush',
		'LeftMarginTab',
		'RightFlush',
		'RightMarginTab',
		'Space',
		'Tab',
		'TextSharedInformation'
	],
	#category : 'Text-Core-Base',
	#package : 'Text-Core',
	#tag : 'Base'
}

{ #category : 'accessing' }
TextConstants class >> BS [
	^BS
]

{ #category : 'accessing' }
TextConstants class >> BS2 [
	^BS2
]

{ #category : 'accessing' }
TextConstants class >> Basal [
	^Basal
]

{ #category : 'accessing' }
TextConstants class >> Bold [
	^Bold
]

{ #category : 'accessing' }
TextConstants class >> CR [
	^CR
]

{ #category : 'accessing' }
TextConstants class >> Centered [
	^Centered
]

{ #category : 'accessing' }
TextConstants class >> Clear [
	^Clear
]

{ #category : 'accessing' }
TextConstants class >> CrossedX [
	^CrossedX
]

{ #category : 'accessing' }
TextConstants class >> CtrlA [
	^CtrlA
]

{ #category : 'accessing' }
TextConstants class >> CtrlB [
	^CtrlB
]

{ #category : 'accessing' }
TextConstants class >> CtrlC [
	^CtrlC
]

{ #category : 'accessing' }
TextConstants class >> CtrlD [
	^CtrlD
]

{ #category : 'accessing' }
TextConstants class >> CtrlDigits [
	^CtrlDigits
]

{ #category : 'accessing' }
TextConstants class >> CtrlE [
	^CtrlE
]

{ #category : 'accessing' }
TextConstants class >> CtrlF [
	^CtrlF
]

{ #category : 'accessing' }
TextConstants class >> CtrlG [
	^CtrlG
]

{ #category : 'accessing' }
TextConstants class >> CtrlH [
	^CtrlH
]

{ #category : 'accessing' }
TextConstants class >> CtrlI [
	^CtrlI
]

{ #category : 'accessing' }
TextConstants class >> CtrlJ [
	^CtrlJ
]

{ #category : 'accessing' }
TextConstants class >> CtrlK [
	^CtrlK
]

{ #category : 'accessing' }
TextConstants class >> CtrlL [
	^CtrlL
]

{ #category : 'accessing' }
TextConstants class >> CtrlM [
	^CtrlM
]

{ #category : 'accessing' }
TextConstants class >> CtrlN [
	^CtrlN
]

{ #category : 'accessing' }
TextConstants class >> CtrlO [
	^CtrlO
]

{ #category : 'accessing' }
TextConstants class >> CtrlOpenBrackets [
	^CtrlOpenBrackets
]

{ #category : 'accessing' }
TextConstants class >> CtrlP [
	^CtrlP
]

{ #category : 'accessing' }
TextConstants class >> CtrlQ [
	^CtrlQ
]

{ #category : 'accessing' }
TextConstants class >> CtrlR [
	^CtrlR
]

{ #category : 'accessing' }
TextConstants class >> CtrlS [
	^CtrlS
]

{ #category : 'accessing' }
TextConstants class >> CtrlT [
	^CtrlT
]

{ #category : 'accessing' }
TextConstants class >> CtrlU [
	^CtrlU
]

{ #category : 'accessing' }
TextConstants class >> CtrlV [
	^CtrlV
]

{ #category : 'accessing' }
TextConstants class >> CtrlW [
	^CtrlW
]

{ #category : 'accessing' }
TextConstants class >> CtrlX [
	^CtrlX
]

{ #category : 'accessing' }
TextConstants class >> CtrlY [
	^CtrlY
]

{ #category : 'accessing' }
TextConstants class >> CtrlZ [
	^CtrlZ
]

{ #category : 'accessing' }
TextConstants class >> Ctrla [
	^Ctrla
]

{ #category : 'accessing' }
TextConstants class >> Ctrlb [
	^Ctrlb
]

{ #category : 'accessing' }
TextConstants class >> Ctrlc [
	^Ctrlc
]

{ #category : 'accessing' }
TextConstants class >> Ctrld [
	^Ctrld
]

{ #category : 'accessing' }
TextConstants class >> Ctrle [
	^Ctrle
]

{ #category : 'accessing' }
TextConstants class >> Ctrlf [
	^Ctrlf
]

{ #category : 'accessing' }
TextConstants class >> Ctrlg [
	^Ctrlg
]

{ #category : 'accessing' }
TextConstants class >> Ctrlh [
	^Ctrlh
]

{ #category : 'accessing' }
TextConstants class >> Ctrli [
	^Ctrli
]

{ #category : 'accessing' }
TextConstants class >> Ctrlj [
	^Ctrlj
]

{ #category : 'accessing' }
TextConstants class >> Ctrlk [
	^Ctrlk
]

{ #category : 'accessing' }
TextConstants class >> Ctrll [
	^Ctrll
]

{ #category : 'accessing' }
TextConstants class >> Ctrlm [
	^Ctrlm
]

{ #category : 'accessing' }
TextConstants class >> Ctrln [
	^Ctrln
]

{ #category : 'accessing' }
TextConstants class >> Ctrlo [
	^Ctrlo
]

{ #category : 'accessing' }
TextConstants class >> Ctrlp [
	^Ctrlp
]

{ #category : 'accessing' }
TextConstants class >> Ctrlq [
	^Ctrlq
]

{ #category : 'accessing' }
TextConstants class >> Ctrlr [
	^Ctrlr
]

{ #category : 'accessing' }
TextConstants class >> Ctrls [
	^Ctrls
]

{ #category : 'accessing' }
TextConstants class >> Ctrlt [
	^Ctrlt
]

{ #category : 'accessing' }
TextConstants class >> Ctrlu [
	^Ctrlu
]

{ #category : 'accessing' }
TextConstants class >> Ctrlv [
	^Ctrlv
]

{ #category : 'accessing' }
TextConstants class >> Ctrlw [
	^Ctrlw
]

{ #category : 'accessing' }
TextConstants class >> Ctrlx [
	^Ctrlx
]

{ #category : 'accessing' }
TextConstants class >> Ctrly [
	^Ctrly
]

{ #category : 'accessing' }
TextConstants class >> Ctrlz [
	^Ctrlz
]

{ #category : 'accessing' }
TextConstants class >> DefaultBaseline [
	^DefaultBaseline
]

{ #category : 'accessing' }
TextConstants class >> DefaultFontFamilySize [
	^DefaultFontFamilySize
]

{ #category : 'accessing' }
TextConstants class >> DefaultLineGrid [
	^DefaultLineGrid
]

{ #category : 'accessing' }
TextConstants class >> DefaultMarginTabsArray [
	^DefaultMarginTabsArray
]

{ #category : 'accessing' }
TextConstants class >> DefaultMask [
	^DefaultMask
]

{ #category : 'accessing' }
TextConstants class >> DefaultRule [
	^DefaultRule
]

{ #category : 'accessing' }
TextConstants class >> DefaultSpace [
	^DefaultSpace
]

{ #category : 'accessing' }
TextConstants class >> DefaultTab [
	^DefaultTab
]

{ #category : 'accessing' }
TextConstants class >> DefaultTabsArray [
	^DefaultTabsArray
]

{ #category : 'accessing' }
TextConstants class >> ESC [
	^ESC
]

{ #category : 'accessing' }
TextConstants class >> EndOfRun [
	^EndOfRun
]

{ #category : 'accessing' }
TextConstants class >> Enter [
	^Enter
]

{ #category : 'accessing' }
TextConstants class >> Italic [
	^Italic
]

{ #category : 'accessing' }
TextConstants class >> Justified [
	^Justified
]

{ #category : 'accessing' }
TextConstants class >> LeftFlush [
	^LeftFlush
]

{ #category : 'accessing' }
TextConstants class >> LeftMarginTab [
	^LeftMarginTab
]

{ #category : 'accessing' }
TextConstants class >> RightFlush [
	^RightFlush
]

{ #category : 'accessing' }
TextConstants class >> RightMarginTab [
	^RightMarginTab
]

{ #category : 'accessing' }
TextConstants class >> Space [
	^Space
]

{ #category : 'accessing' }
TextConstants class >> Tab [
	^Tab
]

{ #category : 'accessing' }
TextConstants class >> TextSharedInformation [
	^TextSharedInformation
]

{ #category : 'backward compatibility' }
TextConstants class >> at: aSymbol [

	^ self classPool at: aSymbol ifAbsent: [self TextSharedInformation at: aSymbol]
]

{ #category : 'class initialization' }
TextConstants class >> initialize [

	TextSharedInformation ifNil: [ TextSharedInformation := Dictionary new].
	Ctrll := Character value: 153.
	Ctrld := Character value: 132.
	ESC := Character value: 160.
	Ctrlh := Character value: 179.
	Enter := Character value: 3.
	DefaultSpace := 4.
	LeftFlush := 0.
	DefaultRule := 3.
	CtrlX := Character value: 215.
	CtrlT := Character value: 240.
	RightFlush := 1.
	Basal := 0.
	CtrlP := Character value: 202.
	DefaultFontFamilySize := 3.
	CtrlL := Character value: 217.
	CtrlH := Character value: 243.
	Ctrlw := Character value: 145.
	CtrlD := Character value: 196.
	DefaultTab := 24.
	Ctrls := Character value: 19.
	Ctrlo := Character value: 15.
	DefaultLineGrid := 16.
	Ctrlk := Character value: 136.
	Ctrlc := Character value: 228.
	Space := Character value: 32.
	Ctrlg := Character value: 232.
	Tab := Character value: 9.
	CtrlW := Character value: 209.
	EndOfRun := 257.
	CtrlS := Character value: 211.
	Italic := 2.
	Centered := 2.
	CrossedX := 258.
	CtrlO := Character value: 216.
	DefaultMarginTabsArray := #(#(24 24) #(48 48) #(72 72) #(96 96) #(120 120) #(144 144) #(168 168) #(192 192) #(216 216) #(240 240) #(264 264) #(288 288) #(312 312) #(336 336) #(360 360) #(384 384) #(408 408) #(432 432) #(456 456) #(480 480)).
	CtrlOpenBrackets := #(201 7 218 249 219 15).
	CtrlK := Character value: 200.
	Ctrlz := Character value: 167.
	CtrlG := Character value: 241.
	LeftMarginTab := 1.
	CtrlC := Character value: 228.
	Ctrlv := Character value: 134.
	Justified := 3.
	Ctrlr := Character value: 18.
	DefaultTabsArray := #(24 48 72 96 120 144 168 192 216 240 264 288 312 336 360 384 408 432 456 480 504 528 552 576 600 624 648 672 696 720 744 768 792 816 840 864 888 912 936 960).
	Ctrln := Character value: 14.
	RightMarginTab := 2.
	Ctrlf := Character value: 12.
	Ctrlj := Character value: 165.
	Ctrlb := Character value: 166.
	CtrlZ := Character value: 231.
	CtrlV := Character value: 198.
	CtrlR := Character value: 239.
	Clear := Character value: 173.
	CtrlN := Character value: 245.
	BS := Character value: 8.
	CtrlJ := Character value: 229.
	Ctrly := Character value: 178.
	CtrlF := Character value: 226.
	BS2 := Character value: 158.
	Ctrlu := Character value: 21.
	CtrlB := Character value: 230.
	Ctrlq := Character value: 17.
	Ctrlm := Character value: 182.
	Ctrle := Character value: 130.
	CtrlDigits := #(159 144 143 128 127 129 131 180 149 135).
	Ctrli := Character value: 150.
	Ctrla := Character value: 1.
	Bold := 1.
	CtrlY := Character value: 242.
	CtrlU := Character value: 197.
	CR := Character value: 13.
	CtrlQ := Character value: 210.
	DefaultMask := Color black.
	CtrlM := Character value: 246.
	CtrlI := Character value: 214.
	Ctrlx := Character value: 151.
	CtrlE := Character value: 194.
	Ctrlt := Character value: 11.
	CtrlA := Character value: 212.
	Ctrlp := Character value: 138.
	DefaultBaseline := 12
]
